package com.entity;

import java.math.BigDecimal;

public class Cake {
	private int cakeId;
	private String cakeName;
	private int    caketypeId;
	private String cakeContext;
	private double cakePrice;
	private int cakeSales;//蛋糕的销量
	
	public Cake() {
		super();
	}
	
	public Cake(String cakeName) {
		super();
		this.cakeName = cakeName;
	}

	public Cake(int cakeId) {
		super();
		this.cakeId = cakeId;
	}

	public int getCakeId() {
		return cakeId;
	}
	public void setCakeId(int cakeId) {
		this.cakeId = cakeId;
	}
	public String getCakeName() {
		return cakeName;
	}
	public void setCakeName(String cakeName) {
		this.cakeName = cakeName;
	}
	public String getCakeContext() {
		return cakeContext;
	}
	public void setCakeContext(String cakeContext) {
		this.cakeContext = cakeContext;
	}
	public double getCakePrice() {
		return cakePrice;
	}
	public void setCakePrice(double cakePrice) {
		this.cakePrice = cakePrice;
	}
	public int getCaketypeId() {
		return caketypeId;
	}
	public void setCaketypeId(int caketypeId) {
		this.caketypeId = caketypeId;
	}
	
	public int getCakeSales() {
		return cakeSales;
	}

	public void setCakeSales(int cakeSales) {
		this.cakeSales = cakeSales;
	}

	@Override
	public String toString() {
		return "Cake [cakeId=" + cakeId + ", cakeName=" + cakeName + ", caketypeId=" + caketypeId + ", cakeContext="
				+ cakeContext + ", cakePrice=" + cakePrice + ", cakeSales=" + cakeSales + "]";
	}



}
